package util;

import java.net.URLEncoder;

public class HttpUtil {
	
	
	public static String httpParam(String key, String value){
		if(key!=null && value!=null){
			try{
				return "&"+key+"="+URLEncoder.encode(value, "utf-8");
			}
			catch(Exception ex){}
		}
		return "";
	}

}
